export enum E_LOG_LEVEL {
  ALL = -2,
  DEBUG = -1,
  INFO = 0,
  WARN = 1,
  ERROR = 2,
  OFF = 999
}

export interface ILogParam {
  module?: string
  method?: string
  message: string
  data?: unknown
}

export interface ILogService {
  debug(param: ILogParam): void
  info(param: ILogParam): void
  warn(param: ILogParam): void
  error(param: ILogParam): void
}
